import request from "@/utils/request";
import { parseStrEmpty } from "@/utils/tetrabot";

/**根据id查询信息 */
export function API_GetNewInfo(robotId) {
  return request({
    url: "/news/info.get/" + parseStrEmpty(robotId),
    method: "get",
  });
}
//编辑
export function API_newsSetting(data) {
  return request({
    url: "/news/setting.news",
    method: "post",
    data,
  });
}
